package factoryModel.factoryMethod;



/**
 * @author 帅小伙
 * @date 2021/12/29
 * @description
 */
public class FuYanPizzaStore extends PizzaStore{
    @Override
    Pizza createPizza(String type) {
        if(type.equals("ah")){
            return new AHPizza();
        }
        return null;
    }
}
